@charset 'utf-8';
/* common unit */
body {
    background: #e9eaed url('../img/bg.png');
}
a {
    color: #05a1a2;
    text-decoration: none;
}
a:hover {
    color: inherit;
}
.container {
    margin: 0 auto;
    padding: 0 10px;
}
@media (min-width: 768px){
    .container {
        width: 750px;
        padding: 0 15px;
    }
}
@media (min-width: 992px){
    .container {
        width: 970px;
    }
}
@media (min-width: 1250px){
    .container {
        width: 1200px;
    }
}
header {
    min-height: 50px;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
header a {
    display: inline-block;
    color: #525252;
}
.logo {
    float: left;
    padding-right: 20px;
}
.logo a {
    line-height: 50px;
    font-weight: 500;
    color: #3d444f;
}
.logo a:hover {
    color: #c00;
}
.logo .logo-title {
    font-weight: 700;
    font-size: 16px;
}
.logo .diviter {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 15px;
    background-color: #000;
    position: relative;
    top: 7px;
}
.nav>li {
    float: left;
}
.nav a {
    display: inline-block;
    padding: 12px 15px;
    line-height: 26px;
}
.nav a:hover {
    color: #262626;
    background-color: #f5f5f5;
}
.nav .active>a {
    color: #555;
    background-color: #e7e7e7;
}
.search-form {
    padding: 4px 0;
    float: left;
}
.search {
    position: relative;
}
.search span {
    position: absolute;
    font-size: 1rem;
    top: 15px;
    left: 11px;
}
.search input {
    width: 75px;
    height: 42px;
    padding-left: 30px;
    line-height: 1em;
    border: none;
    transition: width 1s ease-in-out;
}
.search input:focus {
    width: 260px;
    background-color: #fafafa;
}
.nav .user>a {
    position: relative;
    padding: 12px 15px 12px 54px;
}
.user {
    position: relative;
}
.user img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    margin-top: -5px;
    border: 1px solid white;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 14px;
}
.user .icon-down {
    position: absolute;
    top: 18px;
    right: 10px;
}
.user-hide {
    position: absolute;
    top: 50px;
    right: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.user-hide li {
    border: none;
    border-bottom: 1px solid #d8d8d8;
    background-color: #fff;
}
.user-hide a {
    display: inline-block;
    position: relative;
    min-width: 160px;
    padding: 3px 0 3px 54px;
    line-height: 32px;
}
.user-hide a span {
    position: absolute;
    top: 12px;
    left: 22px;
}
footer {
    min-height: 42px;
    background: #242424;
    border-top: 1px solid #2f2f2f;
    padding-bottom: 13px;
}
footer li {
    float: left;
    margin: 0 5px;
}
footer li a {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    margin-top: 12px;
    padding: 0 5px;
    font-size: 12px;
    color: #eee;
    letter-spacing: 1px;
}
footer li a:hover {
    color: #c00;
}
@media screen and (min-width: 500px){
    footer li:last-child {
        float: right;
    }
}
.main {
    padding-bottom: 40px;
    min-height: calc(100% - 116px);
}
.shower {
    line-height: 26px;
    box-shadow: 0 0 0 1px rgba(39, 41, 43, 0.15) inset, 0 0 0 0 transparent;
    background-color: #fcf8e3;
    color: #8a6d3b;
    padding: 15px;
    margin-bottom: 20px;
}
.shower a {
    color: #05a1a2;
}
.shower a:hover {
    color: #76a29a;
}
.shower strong {
    color: #333;
}
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border-bottom: 2px solid #E2E2E9;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.panel-header {
    border-bottom: 1px solid #eeeeee;
    background-color: #f8f8f8;
    padding: 8px 15px;
}
.panel-title{
    color: #999;
    text-align: center;
    font-weight: 400;
    font-size: 1.4rem;
    margin: 0;
}
.panel-body {
    padding: 15px;
}
.panel-body>ul {
    margin: -15px;
}
.panel-body>ul li {
    border-bottom: 1px solid #f2f2f2;
    position: relative;
}
.panel-footer {
    background-color: #fcfcfc;
    padding: 10px 15px;
    text-align: right;
}
.home-list li {
    padding: 17px 130px 19px 70px;
}
@media (min-width: 992px){
    .home-list li {
        float: left;
        width: 50%;
    }
}
.home-title {
    display: block;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
}
.home-title:hover {
    text-decoration: underline;
}
.home-photo {
    position: absolute;
    top: 6px;
    left: 14px;
}
.photo img {
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 3px;
}
.home-count {
    position: absolute;
    top: 22px;
    right: 15px;
    font-size: 1.2rem;
    color: #8d8d8d;
    text-decoration: none;
}
@media (max-width: 555px){
    .home-count {
        display: none;
    }
    .home-list li {
        padding-right: 20px;
    }
}
.show-more {
    color: #999;
    font-size: 1.3rem;
}
.show-more:hover {
    color: #525252;
}
.index-container {
    border-bottom: 20px;
}
.index-main {
    width: 75%;
    float: left;
    padding-right: 15px;
    min-height: 600px;
}
.index-aside {
    width: 25%;
    float: right;
}
@media (max-width: 991px) {
    .index-main {
        width: 100%;
        float: none;
        padding-right: 0;
        min-height: 0;
    }
    .index-aside {
        width: 100%;
        float: none;
    }
}
.index-nav {
    margin: 8px 0 3px;
}
.index-nav li {
    float: left;
    padding: 0 5px;
    margin-right: 8px;
}
.index-nav a {
    color: #8b8a8a;
    font-size: 14px;
    line-height: 18px;
}
.index-nav a:hover, .index-nav a.active {
    border-bottom: 2px solid #dc817e;
}
.index-list {
    padding: 0 20px;
}
.index-list li {
    min-height: 77px;
    padding: 14px 0 14px 50px;
}
.index-photo {
    position: absolute;
    top: 18px;
    left: 0;
}
.index-photo img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}
.index-content h4 {
    margin: 0 0 3px;
    padding-right: 20px;
    font-size: 1.4rem;
    word-wrap: break-word;
    line-height: 1.7;
    font-weight: 400;
}
.index-content h4 a {
    color: #155faa;
}
.index-content h4 a:hover {
    color: #499ef3;
}
.index-content p {
    color: #999;
    margin: 0;
    line-height: 1.6;
    font-size: 1.2rem;
}
.index-content p a {
    color: #666;
}
.page a, .page span {
    display: inline-block;
    padding: 6px 12px;
    margin-left: -1px;
    border: 1px solid #e6e6e6;
    background-color: #fafafa;
    color: #999;
    line-height: 20px;
}
.page a:hover, .page span:hover {
    color: #2a6496;
    background-color: #eee;
    border-color: #ddd;
    cursor: pointer;
}
.page a.active {
    background-color: #499ef3;
    color: #fff;
    border-color: #499ef3;
}
@media (max-width: 738px){
    .page {
        text-align: center;
    }
}
.tj-table {
    width: 100%;
    text-align: center;
    color: #555;
    border-collapse: collapse;
}
.tj-table td {
    padding: 10px 13px;
    border: 1px solid #ddd;
}
.thead {
    background-color: #F8F8F8;
}
.strong-tr {
    font-weight: 700;
}
.manager-list {
    padding: 15px;
}
ul.manager-list {
    text-align: center;
}
ul.manager-list li {
    display: inline-block;
    text-align: center;
    width: 33.33%;
    padding: 10px 0;
    border-bottom: none;
}
.manager-list a {
    display: inline-block;
}
.manager-list .manager-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #155faa;
    font-size: 1.2rem;
    margin-top: 8px;
}
.manager-list .manager-name:hover {
    color: #499ef3;
}
.bbs-cate-div {
    margin-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
}
.bbs-cate li {
    float: left;
    height: 24px;
    line-height: 24px;
    font-size: 1.2rem;
    margin: 7px 10px 7px 0;
    border-radius: 4px;
    color: #17344A;
}
.bbs-cate a {
    display: inline-block;
    padding: 0 7px;
    color: inherit;
}
.bbs-cate .active, .bbs-cate li:hover {
    background-color: #494a4b;
    color: #fff;
}
.bbs-title {
    color: #333;
    font-weight: 700;
}
.topic-filter {
    text-align: right;
    min-height: 32px;
}
.topic-filter li {
    display: inline-block;
    color: #666;
}
.topic-filter a {
    display: inline-block;
    color: inherit;
    line-height: 30px;
    padding: 0 13px;
}
.topic-filter .active, .topic-filter li:hover a {
    border-bottom: 2px solid #155faa;
}
.topic-header.panel-header {
    padding-bottom: 0;
    background-color: #fff;
}
.bbs-info {
    text-align: center;
}
.bbs-info p {
    color: #525252;
}
.bbs-photo {
    display: inline-block;
}
.bbs-photo.photo img {
    width: 80px;
    height: 80px;
    margin: 5px;
    padding: 3px;
}
.handle {
    border-top: 1px solid #eee;
    margin-top: 30px;
    padding-top: 20px;
}
.handle a {
    display: inline-block;
    width: 42%;
    max-width: 100px;
    padding: 6px 12px;
    border-radius: 4px;
    margin: 0 4%;
}
.handle-donation {
    background-color: #009a61;
    border: 1px solid #008b57;
    color: #fff;
}
.handle-focus {
    background-color: #f0ad4e;
    border: 1px solid #eea236;
    color: #fff;
}
.handle-focused {
    color: #C7C7C7;
    background-color: #F3F3F3;
    border-color: #DDDDDD;
}
.handle-donation:hover {
    color: #fff;
    background-color: #058355;
}
.handle-focus:hover {
    color: #fff;
    background-color: #ec971f;
}
.user-donation {
    text-align: center;
    margin: 0;
    color: #525252;
}
.bbs-rank {
    padding: 15px;
}
.bbs-rank li {
    position: relative;
    padding: 10px 20px 10px 27px;
}
.rank-photo img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 0;
}
.bbs-rank .rank-count {
    position: absolute;
    top: 13px;
    right: 0;
    color: #444;
    font-weight: 700;
}
.bbs-rank span {
    color: #999;
    font-size: 1.2rem;
}
.bbs-rank a {
    color: #155faa;
}
.bbs-rank a:hover {
    color: #499ef3;
}
.bbs-share {
    text-align: center;
}
.bbs-share a {
    color: #ccc;
    font-size: 18px;
    padding: 15px;
}
.bbs-share a:hover {
    color: #444;
}
.invite label {
    line-height: 1.7;
    color: #333;
}
.invite input {
    display: block;
    width: 100%;
    padding: 6px;
    height: 34px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 10px 0 20px;
}
.invite input:focus {
    border-color: #499ef3;
    box-shadow: none;
}
.invite p {
    text-align: right;
    margin: 0;
}
.invite p a {
    display: inline-block;
    padding: 0 15px;
    background-color: #5bbf5a;
    color: #fff;
    font-size: 1.2rem;
    line-height: 24px;
    border-radius: 4px;
}
.invite p a:hover {
    background-color: #38b836;
}
.topic-title {
    font-size: 2.4rem;
    color: #333;
    line-height: 135%;
    margin-bottom: 20px;
}
.topic-title a {
    color: inherit;
}
.topic-info {
    color: #d0d0d0;
    font-size: 1.2rem;
}
.topic-info a {
    color: #B9BDC0;
}
.topic-info a:hover {
    color: inherit;
}
.reply-list {
    padding: 0 6px;
}
.reply-list li {
    position: relative;
    /*padding: 16px 0 0 66px;*/
    padding: 16px 15px 6px 80px;
}
.reply-list .no-login-msg {
    padding: 0 9px;
}
.reply-photo {
    display: inline-block;
    position: absolute;
    top: 15px;
    left: 18px;
}
.photo.reply-photo img {
    width: 48px;
    height: 48px;
}
.reply-author {
    margin: 0 0 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reply-author a {
    color: #05a1a2;
}
.reply-author a:hover {
    color: inherit;
    text-decoration: underline;
}
.reply-author span {
    color: #b0b0b0;
}
.reply-handle {
    text-align: right;
    margin: 10px 0 6px;
    color: #999;
}
.reply-handle a {
    color: #f0ad4e;
}
.reply-handle a:hover {
    color: #05a1a2;
}
.tips {
    background-color: #f9fff3;
    color: gray;
    padding: 16px;
    margin-bottom: 15px;
}
.tips-list {
    padding-left: 20px;
    list-style: disc;
}
ul.tips-list li {
    border-bottom: 0;
    line-height: 30px;
}
.tips-list a {
    color: #05a1a2;
}
.tips-list a:hover {
    color: inherit;
}
/* editor style */
.editor {
    border: 1px solid #C2CACD;
    border-radius: 4px;
    padding: 15px;
    background-color: #F5F5F5;
}
.editor-header {
    text-align: left;
    position: relative;
    padding-right: 34px;
    background-color: #F5F5F5;
    border-bottom: 1px solid #E6E6E6;
}
.editor-header a {
    display: inline-block;
    padding: 8px 10px;
    color: #333;
}
.editor-header a:hover {
    background-color: #EBEBEB;
}
.editor-header .preview {
    position: absolute;
    top: 0;
    right: 0;
}
.preview.transfer {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    color: #f00;
    background-color: #EBEBEB;
}
.editor-body {
    position: relative;
}
.md-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 226px;
    background-color: #fff;
    border: 1px solid #C2CACD;
    border-radius: 4px;
    padding: 8px;
    overflow-y: auto;
}
.editor-body textarea {
    width: 100%;
    resize: none;
    border: 1px solid #E6E6E6;
    border-radius: 4px;
    outline: none;
    padding: 8px;
    line-height: 1.5;
    height: 227px;
}
.editor-body textarea:focus {
    border-color: #00b5ad;
}
.editor-footer {
    text-align: right;
    color: #525252;
}
.editor-footer a {
    color: #fff;
    background-color: #00b5ad;
    border: 1px solid #00b5ad;
    padding: 6px 12px;
    border-radius: 4px;
}
.editor-footer a:hover {
    background-color: #00c4bc;
    border-color: #00c4bc;
}

.form-group {
    margin-bottom: 15px;
}
.form-group select, .form-group input {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    outline: none;
}
.form-group select:focus, .form-group input:focus {
    border-color: #00b5ad;
}
.modal{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    background: #272822;
    opacity:0;
    overflow-y: auto;
    transition:opacity 1s;
    -moz-transition:opacity 1s; /* Firefox 4 */
    -webkit-transition:opacity 1s; /* Safari and Chrome */
    -o-transition:opacity 1s; /* Opera */
}
.modal-show {
    opacity: 1;
}
.modal .modal-container{
    width:80%;
    max-width: 800px;
    margin:9% auto 5%;
}
.modal .modal-content{
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    transition:transform 1s;
    -moz-transition:transform 1s; /* Firefox 4 */
    -webkit-transition:transform 1s; /* Safari and Chrome */
    -o-transition:transform 1s; /* Opera */
}
.modal.in .modal-content{
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 16px;
}
.modal .modal-header .modal-close {
    margin-top: -2px;
    cursor: pointer;
    background: none;
    border: 0;
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
}
.modal .modal-title {
    margin: 0;
    line-height: 1.42857143;
}
.modal .modal-body {
    position: relative;
    padding: 15px;
}
.modal .modal-body p.edit-tip{
    text-align: right;
    font-size: 12px;
    color:#333;
    margin:17px 0 0;
}
.modal .modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.modal .modal-footer button {
    margin-left: 5px;
    margin-bottom: 0;
}
.modal .modal-footer button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #CCC;
    border-radius: 4px;
    text-shadow: 0 1px 0 #FFF;
    color: #333;
    background: #FFF;
}
.modal .modal-footer .modal-save {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.modal .modal-footer button:hover {
    background-position: 0 -15px;
}
.modal .modal-footer button.modal-no:hover{
    background-color: #E0E0E0;
}
.modal .modal-footer button.modal-save:hover{
    background-color: #265A88;
}
.form{
    position: relative;
    width:100%;
}
.form .form-item{
    position: relative;
}
.form-item label {
    display: block;
    margin-bottom: 6px;
}
.form textarea,.form input{
    display: block;
    width: 100%;
    border: 1px solid #d0d6d9;
    border-radius:4px;
    color:#444;
    padding: 7px;
}
.form input{
    height: 38px;
}
.form .error {
    border-color: #A94442;
}







